import http from "@/utils/http";
// 发送人脸比对请求
export function compareFaces(image1, image2) {
    const formData = new FormData();
    formData.append("image1", image1);
    formData.append("image2", image2);
  
    return http.post("/compare-faces", formData, {
      headers: {
        "Content-Type": "multipart/form-data",
      },
    });
  }